package com.cjq;

import com.cjq.mapper.StudentssmMapper;
import com.cjq.pojo.Studentssm;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.annotation.Resource;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath*:spring.xml"})
public class test {

    @Resource
    private StudentssmMapper studentssmMapper;

    @Test
    public void test01() {
        Studentssm studentssm = studentssmMapper.selectByPrimaryKey(1);
        System.out.println(studentssm);
    }
}